/**
 * RequestProcessor.java
 */
package fss.common.reqproc;

import fss.common.communication.Request;

public abstract class RequestProcessor {
    private Request request = null;
    /**
     * Constructor wrapping the request.
     * @param request the request.
     */
    public RequestProcessor(Request request) {
        this.request = request;
    }
    /**
     * Get the request.
     * @return the request.
     */
    public Request getRequest() {
        return request;
    }
    /**
     * Process a request.
     * @param req the request.
     */
    public abstract void processRequest(Request req);
}
